﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using QQTools.Core.Enums.ForwardGroupMessage;

namespace QQTools.Data.Models
{
    /// <summary>
    /// 转发群消息任务的QQ群数据模型
    /// </summary>
    public class ForwardGroupMsgModel
    {
        /// <summary>
        /// 任务唯一标识符
        /// </summary>
        public int Id { get; set; }
        public string QQ { get; set; }
        public string GroupNumber { get; set; }
        /// <summary>
        /// 消息内容
        /// </summary>
        public string MessageContent { get; set; }

        /// <summary>
        /// 消息类型
        /// </summary>
        public ForwardGroupMsgType MessageType { get; set; } = ForwardGroupMsgType.图片;

        /// <summary>
        /// 任务状态
        /// </summary>
        public ForwardGroupMsgStatus Status { get; set; } = ForwardGroupMsgStatus.NotStarted;

        /// <summary>
        /// 转发时间
        /// </summary>
        public DateTime ForwardTime { get; set; }

        /// <summary>
        /// 重试次数
        /// </summary>
        public int RetryCount { get; set; }

        /// <summary>
        /// 已转发次数
        /// </summary>
        public int ForwardCount { get; set; }

        public DateTime CreateTime { get; set; }
        public DateTime UpdateTime { get; set; }

    }
}
